import state from "./state.js"
const reducer=(preState=state,action)=>{
	let new_state={...preState};
	switch(action.type){
		case "noticeAllread":
			new_state={...preState,isRead:true}
			break
	}
	return new_state
}
export default reducer